home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
CRS
/
crs54.d81
/
sgtool13.arc
/
SID.ARC
/
SIDFREQ.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-08-28
|
315b
|
21 lines
/*
SG C Tools 1.3
(C) 1993 Steve Goldsmith
All Rights Reserved
Compiled with HI-TECH C 3.09 (CP/M-80).
*/
#include <sys.h>
#include <hitech.h>
#include <sid.h>
/* set voice freq */
void freqsid(ushort Voice, ushort Freq)
{
outp(Voice,(uchar) Freq);
outp(Voice+1,(uchar) (Freq >> 8));
}